package com.kgar.entity.pojo;

import java.io.Serial;
import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.List;

import cn.hutool.core.util.RandomUtil;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName(value = "resume",autoResultMap = true)
@Data
public class Resume implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer resumeId;

    private String resumeName;

    private Integer userId;

    private String name;

    private Boolean gender;

    private Integer age;

    private String maritalStatus;

    private String politStatus;

    private String major;

    private String surname;

    private Date birthday;

    private String college;

    private String degree;

    private String race;

    private String nationality;

    private String englishLevel;

    private String computerLevel;

    private String phone;

    private String email;

    private String qq;

    private String weixin;

    private String expectSalary;

    private String expectSalaryMin;

    private String expectSalaryMax;

    private String expectJob;

    private String expectIndustry;

    private String livingAddress;

    @TableField(typeHandler = JsonListTypeHandler.class)
    private List<EducationExp> educationObjs;

    @TableField(typeHandler = JsonListTypeHandler.class)
    private List<JobExp> jobExpObjs;

    @TableField(typeHandler = JsonListTypeHandler.class)
    private List<ProjExp> projExpObjs;

    @TableField(typeHandler = JsonListTypeHandler.class)
    private List<Skills> skillsObjs;

    private String contMyDesc;

    @TableField(typeHandler = ResumeTagsTypeHandler.class)
    private ResumeTags tags;

    private String rawText;


    private String link ="";

    private Timestamp savedTime;
    @TableField(exist = false)
    private Double score;

    @Serial
    private static final long serialVersionUID = 1L;
}